import pandas as pd
import numpy as np
df = pd.read_csv('weather.csv')
df1 = df['Temperature(Celsius)(avg)']
i1 = 0
j1 = 0
while j1 != 5:
    if df1[i1] >= 10 and df1[i1] < 22:
        j1 += 1
    else:
        j1 = 0
    i1 += 1
print(i1-4)
j2 = 0
while j2 != 5:
    if df1[i1] >= 22:
        j2 += 1
    else:
        j2 = 0
    i1 += 1
print(i1-4)
j3 = 0
while j3 != 5:
    if df1[i1] >= 10 and df1[i1] < 22:
        j3 += 1
    else:
        j3 = 0
    i1 += 1
print(i1-4)
j4 = 0
while j4 != 5:
    if df1[i1] < 10:
        j4 += 1
    else:
        j4 = 0
    i1 += 1
print(i1-4)